<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.16"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>LibTools: CMutexBase类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">LibTools
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.16 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',false,false,'search.php','搜索');
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pri-methods">Private 成员函数</a> &#124;
<a href="class_c_mutex_base-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">CMutexBase类 参考<span class="mlabels"><span class="mlabel">abstract</span></span></div>  </div>
</div><!--header-->
<div class="contents">

<p>锁基类  
 <a href="class_c_mutex_base.html#details">更多...</a></p>

<p><code>#include &lt;<a class="el" href="_mutex_8h_source.html">Mutex.h</a>&gt;</code></p>
<div class="dynheader">
类 CMutexBase 继承关系图:</div>
<div class="dyncontent">
 <div class="center">
  <img src="class_c_mutex_base.png" usemap="#CMutexBase_map" alt=""/>
  <map id="CMutexBase_map" name="CMutexBase_map">
<area href="class_c_mutex.html" title="常规锁" alt="CMutex" shape="rect" coords="0,56,112,80"/>
<area href="class_c_recursive_mutex.html" title="递归锁" alt="CRecursiveMutex" shape="rect" coords="122,56,234,80"/>
  </map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a00ead3b5e2f2712c0ba9fd9a81e37796"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_mutex_base.html#a00ead3b5e2f2712c0ba9fd9a81e37796">CMutexBase</a> ()</td></tr>
<tr class="separator:a00ead3b5e2f2712c0ba9fd9a81e37796"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a010cf0579d1577a0e5556b3be75673e6"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_mutex_base.html#a010cf0579d1577a0e5556b3be75673e6">~CMutexBase</a> ()</td></tr>
<tr class="separator:a010cf0579d1577a0e5556b3be75673e6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac23d438cd5b38643a222bcb74adbb604"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_mutex_base.html#ac23d438cd5b38643a222bcb74adbb604">Lock</a> ()=0</td></tr>
<tr class="separator:ac23d438cd5b38643a222bcb74adbb604"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abd6a9da2d294b50fc9651c1be6b7e808"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_mutex_base.html#abd6a9da2d294b50fc9651c1be6b7e808">Unlock</a> ()=0</td></tr>
<tr class="separator:abd6a9da2d294b50fc9651c1be6b7e808"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeeb8e3603ae7ecabdf7fc9103295d565"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="tools_8h.html#a01e895c2df346ffe662bbe69686d8d51">SYNCHANDLE</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_mutex_base.html#aeeb8e3603ae7ecabdf7fc9103295d565">Handle</a> ()=0</td></tr>
<tr class="separator:aeeb8e3603ae7ecabdf7fc9103295d565"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-methods"></a>
Private 成员函数</h2></td></tr>
<tr class="memitem:a8a37032866386c900b51404d308c4d07"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_mutex_base.html#a8a37032866386c900b51404d308c4d07">delete_class_copy_operator</a> (<a class="el" href="class_c_mutex_base.html">CMutexBase</a>)</td></tr>
<tr class="separator:a8a37032866386c900b51404d308c4d07"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>锁基类 </p>

<p class="definition">在文件 <a class="el" href="_mutex_8h_source.html">Mutex.h</a> 第 <a class="el" href="_mutex_8h_source.html#l00011">11</a> 行定义.</p>
</div><h2 class="groupheader">构造及析构函数说明</h2>
<a id="a00ead3b5e2f2712c0ba9fd9a81e37796"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a00ead3b5e2f2712c0ba9fd9a81e37796">&#9670;&nbsp;</a></span>CMutexBase()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">CMutexBase::CMutexBase </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="_mutex_8h_source.html">Mutex.h</a> 第 <a class="el" href="_mutex_8h_source.html#l00015">15</a> 行定义.</p>

</div>
</div>
<a id="a010cf0579d1577a0e5556b3be75673e6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a010cf0579d1577a0e5556b3be75673e6">&#9670;&nbsp;</a></span>~CMutexBase()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual CMutexBase::~CMutexBase </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="_mutex_8h_source.html">Mutex.h</a> 第 <a class="el" href="_mutex_8h_source.html#l00016">16</a> 行定义.</p>

</div>
</div>
<h2 class="groupheader">成员函数说明</h2>
<a id="a8a37032866386c900b51404d308c4d07"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8a37032866386c900b51404d308c4d07">&#9670;&nbsp;</a></span>delete_class_copy_operator()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">CMutexBase::delete_class_copy_operator </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_c_mutex_base.html">CMutexBase</a>&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="aeeb8e3603ae7ecabdf7fc9103295d565"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aeeb8e3603ae7ecabdf7fc9103295d565">&#9670;&nbsp;</a></span>Handle()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="tools_8h.html#a01e895c2df346ffe662bbe69686d8d51">SYNCHANDLE</a> CMutexBase::Handle </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>在 <a class="el" href="class_c_mutex.html#aef8094fb14fbccf8e095b162ba90dade">CMutex</a> , 以及 <a class="el" href="class_c_recursive_mutex.html#a0d5f2e5a91c7757d0eeb3f4f6a816289">CRecursiveMutex</a> 内被实现.</p>

</div>
</div>
<a id="ac23d438cd5b38643a222bcb74adbb604"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac23d438cd5b38643a222bcb74adbb604">&#9670;&nbsp;</a></span>Lock()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void CMutexBase::Lock </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>在 <a class="el" href="class_c_mutex.html#af673eb768848738ed476d4ce2e2eb443">CMutex</a> , 以及 <a class="el" href="class_c_recursive_mutex.html#aba7f1be4b2bff1dd9375cc90e05941bb">CRecursiveMutex</a> 内被实现.</p>

</div>
</div>
<a id="abd6a9da2d294b50fc9651c1be6b7e808"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abd6a9da2d294b50fc9651c1be6b7e808">&#9670;&nbsp;</a></span>Unlock()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void CMutexBase::Unlock </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>在 <a class="el" href="class_c_mutex.html#ac0a6922590d43c88d9343feac2ccba2c">CMutex</a> , 以及 <a class="el" href="class_c_recursive_mutex.html#a23d5b6de26ead85da2c13ec5f523ceec">CRecursiveMutex</a> 内被实现.</p>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>H:/project/LibTools/src/thread/<a class="el" href="_mutex_8h_source.html">Mutex.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者 &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.16
</small></address>
</body>
</html>
